package org.zkdn.modules.wlpt.basicinfo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.api.vo.Result;
import org.zkdn.modules.wlpt.basicinfo.entity.RoadsideDeviceCamera;
import com.baomidou.mybatisplus.extension.service.IService;
import org.zkdn.modules.wlpt.basicinfo.entity.RoadsideDeviceRadar;
import org.zkdn.modules.wlpt.basicinfo.vo.CameraVO;

/**
 * @Description: roadside_device_camera
 * @Author: jeecg-boot
 * @Date:   2025-06-18
 * @Version: V1.0
 */
public interface IRoadsideDeviceCameraService extends IService<RoadsideDeviceCamera> {

    /**
     * 分页查询，返回分页列表
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<CameraVO> queryPageList(IPage<CameraVO> page,
                                  @Param("ew") QueryWrapper queryWrapper);

    /**
     * 添加并校验
     * @param roadsideDeviceCamera
     * @return
     */
    Result saveByValidate(RoadsideDeviceCamera roadsideDeviceCamera);

    /**
     * 更新并校验
     * @param roadsideDeviceCamera
     * @return
     */
    Result updateByValidate(RoadsideDeviceCamera roadsideDeviceCamera);

    /**
     * 删除
     * @param id
     * @return
     */
    Result deleteById(String id);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    Result deleteByIds(String ids);
}
